package com.sti.framework.models.Aps.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sti.framework.core.service.BaseService;
import com.sti.framework.core.web.Page;
import com.sti.framework.models.Aps.data.ApsMonthPlanMo;
import com.sti.framework.models.Aps.data.ApsMonthPlanMoGroup;
import com.sti.framework.models.Aps.data.ApsMonthPlanMoResult;
import com.sti.framework.models.Aps.mapper.ApsMonthPlanMoMapper;
import com.sti.framework.models.Aps.mapper.ApsMonthPlanMoResultMapper;
import com.sti.framework.models.Basics.data.BasicsParameter;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ApsMonthPlanMoResultService extends BaseService<ApsMonthPlanMoResultMapper, ApsMonthPlanMoResult> {

    @Resource
    private ApsMonthPlanMoResultMapper apsMonthPlanMoResultMapper;

    public IPage<ApsMonthPlanMoGroup> getByClassGroupList(Page page, LambdaQueryWrapper<ApsMonthPlanMoResult> queryWrapper) {
        return apsMonthPlanMoResultMapper.getByClassGroupList(page,queryWrapper);
    }

    public ApsMonthPlanMoGroup getByClassGroupListOne(LambdaQueryWrapper<ApsMonthPlanMoResult> queryWrapper) {
        return apsMonthPlanMoResultMapper.getByClassGroupListOne(queryWrapper);
    }
}
